package com.sxl.algorithm;

import java.util.Random;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		int array[] = new int[10];
		 Random r=new Random(); 
		 for(int i=0;i<10;i++){
		     array[i] = r.nextInt(11);
		     System.out.print(array[i]+"\t");
		 } 
		 System.out.println();
		int[] array2 = {3,10,0,2,2,7,3,6,5,2};
		array = SelectSort.algorithm(array2);
		for (int i : array) {
			System.out.print(i+"\t");
		}
	}

}
